package controllers

import (
	"github.com/astaxie/beego"
)

type StrangerListController struct {
	beego.Controller
}

func (c *StrangerListController) Get() {
	key := c.GetString("key")
	c.Data["json"] = map[string]string{"key": key}
	c.ServeJson()
}

type StrangerDeleteController struct {
	beego.Controller
}

func (c *StrangerDeleteController) Get() {
	key := c.GetString("key")
	c.Data["json"] = map[string]string{"key": key}
	c.ServeJson()
}

type StrangerUpdateController struct {
	beego.Controller
}

func (c *StrangerUpdateController) Get() {
	key := c.GetString("key")
	c.Data["json"] = map[string]string{"key": key}
	c.ServeJson()
}
